<?php
 defined('IN_ADMIN') or exit('No permission resources.');;echo '';include $this->admin_tpl('header','admin');;echo '<div class="pad-lr-10">
<div class="table-list">

<div class="explain-col">
';echo L('upgrade_notice');;echo '</div>
<div class="bk15"></div>

<form name="myform" action="" method="get" id="myform">
<input type="hidden" name="cover" value="';echo $_GET['cover'];echo '" />
<input name="s" value="upgrade/index/init/s/1" type="hidden" />
<table width="100%" cellspacing="0">
	<thead>
		<tr>
			<th align="left" width="300">';echo L('currentversion');echo '';if(empty($pathlist)) {;echo '';echo L('lastversion');echo '';};echo '</th>
			<th align="left">';echo L('updatetime');echo '</th>
		</tr>
	</thead>
<tbody>
    <tr>
		<td align="left">';echo $current_version['h5_version'];;echo '</td>
		<td align="left">';echo $current_version['h5_release'];;echo '</td>
    </tr>

</tbody>
</table>
';if(!empty($pathlist)) {;echo '<div class="bk15"></div>
<table width="100%" cellspacing="0">
<thead>
	<tr>
		<th align="left" width="300">';echo L('updatelist');echo '</th>
		<th align="left">';echo L('updatetime');echo '</th>
	</tr>
</thead>
<tbody>
	';foreach($pathlist as $v) {;echo '	<tr>
		<td>';echo $v;;echo '</td>
		<td>';echo substr($v,15,8);;echo '</td>
	</tr>
	';};echo '</tbody>
</table>
    <div class="bk15"></div>
	<label for="cover"><font color="red">';echo L('covertemplate');echo '</font></label><input name="cover" id="cover" type="checkbox" value=1>
    <input name="dosubmit" type="submit" id="dosubmit" value="';echo L('begin_upgrade');echo '" class="button">
';};echo '</form>
</div>
</div>
</body>
</html>'
?>